package com.ruoyi.project.jiaqin.questionlikes.service;

import java.util.List;
import com.ruoyi.project.jiaqin.questionlikes.domain.MemberQuestionLikes;

/**
 * 用户点赞问题Service接口
 *
 * @author admin
 * @date 2021-02-02
 */
public interface IMemberQuestionLikesService
{
    /**
     * 查询用户点赞问题
     *
     * @param memberId 用户点赞问题ID
     * @return 用户点赞问题
     */
    public MemberQuestionLikes selectMemberQuestionLikesById(String memberId,String questionId);

    /**
     * 查询用户点赞问题列表
     *
     * @param memberQuestionLikes 用户点赞问题
     * @return 用户点赞问题集合
     */
    public List<MemberQuestionLikes> selectMemberQuestionLikesList(MemberQuestionLikes memberQuestionLikes);

    /**
     * 新增用户点赞问题
     *
     * @param memberQuestionLikes 用户点赞问题
     * @return 结果
     */
    public int insertMemberQuestionLikes(MemberQuestionLikes memberQuestionLikes);

    /**
     * 修改用户点赞问题
     *
     * @param memberQuestionLikes 用户点赞问题
     * @return 结果
     */
    public int updateMemberQuestionLikes(MemberQuestionLikes memberQuestionLikes);

    /**
     * 批量删除用户点赞问题
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteMemberQuestionLikesByIds(String ids);

    /**
     * 删除用户点赞问题信息
     *
     * @param memberId 用户点赞问题ID
     * @return 结果
     */
    public int deleteMemberQuestionLikesById(String memberId);
}
